package system;

import book.BookList;

public class DelOperation implements IOperation{
    @Override
    public void work(BookList bookList) {
        System.out.println("删除图书");
        System.out.println("请输入你要删除的图书名");
       int ret =  bookList.findBook() ;
        bookList.delBook(ret);
        System.out.println("删除成功");
    }


}
